package Service;

import java.util.List;

import ModelBean.ProductBean;
import POJO.Category;
import POJO.Customer;
import POJO.Image;
import POJO.Product;
import POJO.ProductDetail;
import POJO.User;

public interface AdminService {
	List<Category> getListCategory();

	Category getCategoryById(int id);

	void saveCategory(Category category);

	void addCategory(Category category);

	void deleteCategory(Category category);
	
	void resetPriority(Category category);

	List<Product> getListProducts();

	Product getProducById(int productId);

	void saveProduct(Product product);

	void deleteProduct(Product product);

	List<ProductDetail> getListProductDetail(int productId);

	Product getProductById(int productId);

	ProductDetail getProductDetail(int productDetailId);

	List<Image> getListImage();

	void saveProductDetail(ProductDetail productDetail);

	void createProduct(Product product);

	void createProductDetail(ProductDetail productDetail);

	List<Customer> getListAccount();

	Customer getAccountById(int customerId);

	void saveAccount(Customer cus);
}
